home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 April / macformat-023.iso / Shareware City / Developers / sf-cmds / examples next >
Encoding:
Text File  |  1994-10-20  |  487 b   |  30 lines  |  [TEXT/NSHA]

  1.  
  2. echo ' '
  3. echo 'These are examples of "sfget" and "sfput" commands.'
  4. echo ' '
  5. echo 'Type "cat examples" to see this file.'
  6.  
  7. echo ' '
  8. echo 'example 1: sfget foo'
  9. sfget foo
  10. env foo
  11. unset foo
  12.  
  13. echo ' '
  14. echo 'example 2: sfput foo'
  15. sfput foo
  16. env foo
  17. unset foo
  18.  
  19. echo ' '
  20. echo 'example 3: sfget foo -p "this is a prompt"'
  21. sfget foo -p "this is a prompt"
  22. env foo
  23. unset foo
  24.  
  25. echo ' '
  26. echo 'example 4: sfput foo -p "this is another prompt"'
  27. sfput foo -p "this is another prompt"
  28. env foo
  29. unset foo
  30.